package com.qrcode.service.impl.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: yzx96
 * @CreateTime: 2019-09-29 21:24
 * @Description: 服务层启动类
 */
@SpringBootApplication //SpringBoot启动类注解
@EnableAutoConfiguration  //开启自动化配置
@ComponentScan("com.qrcode") //类似于Spring的基础类扫描包，用来扫描实体，接口和控制器
@MapperScan("com.qrcode.mapper") //mybatis的接口扫描包
public class QrCodeServiceBoot {
    public static void main(String[] args) {
        SpringApplication.run(QrCodeServiceBoot.class, args);
    }
}
